<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/view/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>在线考试系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${contextPath}/css/user.css"
	type="text/css" media="all" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>

	<%@include file="/view/top.jsp"%>

	<form:form name="examResultForm" method="post"
		action="${contextPath}/examResult.action"
		commandName="ExamResultCommand">
		<div>
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td height="30">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15" height="30"><img src="images/tab_03.gif"
									width="15" height="30" /></td>
								<td background="images/tab_05.gif"><img
									src="images/311.gif" width="16" height="16" /><span
									class="STYLE4"><spring:message
											code="ui.examresult.title" /></span></td>
								<td width="14"><img src="images/tab_07.gif" width="14"
									height="30" /></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="9" background="images/tab_12.gif">&nbsp;</td>
								<td align="center">
									<table width="60%" border="0" align="center" cellpadding="0"
										cellspacing="1">
										<tr>
											<td align="center" style="padding: 15px;" class="STYLE11"
												colspan="2"><font color="#FF0000">交卷成功！</font>
										</tr>
										<tr>
											<td align="center" style="padding: 15px;" class="STYLE12"
												colspan="2"><font color="#B3614D">${sessionScope.LOGIN_USER_INFO.name
													}，您好！本次考试交卷成功！您此次考试的成绩如下：</font></td>
										</tr>

										<c:forEach items="${ExamResultCommand.exams}" var="exam"
											varStatus="status">
											<tr>
												<td align="right" style="padding: 5px; width: 40%;"
													class="STYLE12"><font color="#B3614D"><spring:message
															code="ui.examresult.column.name" />：&nbsp;</font></td>
												<td align="left" style="padding: 5px; width: 60%;"
													class="STYLE12"><font color="#5555AA">${exam.paper.name}</font>&nbsp;&nbsp;</td>
											</tr>
											<tr>
												<td align="right" style="padding: 5px;" class="STYLE12">
													<font color="#B3614D"><spring:message
															code="ui.examresult.column.duration" />：&nbsp;</font>
												</td>
												<td align="left"
													style="padding: 5px; width: 30%; width: 70%;"
													class="STYLE12"><font color="#5555AA">${exam.duration}</font><font
													color="#B3614D"><spring:message
															code="ui.common.duration.unit" /></font>&nbsp;/&nbsp;<font
													color="#5555AA">${exam.paper.duration}</font><font
													color="#B3614D"><spring:message
															code="ui.common.duration.unit" /></font></td>
											</tr>
											<tr>
												<td align="right" style="padding: 5px; width: 30%;"
													class="STYLE12"><font color="#B3614D"><spring:message
															code="ui.examresult.column.scores" />：&nbsp;</font></td>
												<td align="left" style="padding: 5px; width: 70%;"
													class="STYLE12"><font color="#5555AA">${exam.score}</font><font
													color="#B3614D"><spring:message
															code="ui.common.scores.unit" /></font>&nbsp;/&nbsp;<font
													color="#5555AA">${exam.paper.scores}</font><font
													color="#B3614D"><spring:message
															code="ui.common.scores.unit" /></font></td>
											</tr>
											<tr>
												<td align="center" style="padding: 15px;" class="STYLE12"
													colspan="2">&nbsp;</td>
											</tr>
										</c:forEach>
										<tr>
											<td align="center" style="padding: 15px;" class="STYLE12"
												colspan="2">
												<div align="center">
													<input type="button" value="退出考试"
														onclick="javascript:document.location='/hfjyzexam/login.action'" />
												</div>
											</td>
										</tr>
									</table>
								</td>
								<td width="9" background="images/tab_16.gif">&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td height="29">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15" height="29"><img src="images/tab_20.gif"
									width="15" height="29" /></td>
								<td background="images/tab_21.gif">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="40%">&nbsp;</td>
										</tr>
									</table>
								</td>
								<td width="14"><img src="images/tab_22.gif" width="14"
									height="29" /></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</form:form>
</body>
</html>